package com.gaoboy.springbootgoods.mapper;

import com.gaoboy.springbootgoods.entity.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    int insert(Order order);

    List<Order> queryByUserId(Integer userId);

    int invalidOrder();
}
